package com.study.demo.ui.pmdetail;


import com.stduy.ui.BasePresenter;
import com.stduy.ui.BaseView;
import com.study.demo.bean.PmDetail;

import java.util.List;

/**
 * Created by sll on 2016/5/11.
 */
public interface PmDetailContract {

  interface View extends BaseView {
    void showLoading();

    void hideLoading();

    void isBlock(boolean isBlock);

    void renderPmDetailList(List<PmDetail> pmDetails);

    void scrollTo(int position);

    void onRefreshCompleted();

    void onError();

    void onEmpty();

    void cleanEditText();
  }

  interface Presenter extends BasePresenter<View> {

    void onPmDetailReceive();

    void onLoadMore();

    void onReload();

    void send(String content);

    void clear();

    void block();
  }
}
